package lp.xian.equipment.mapper;

import lp.xian.equipment.domain.Classify;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ClassifyMapper {
    //添加商品供应商分类
    public int save(Classify classify);
    //批量删除供应商分类
    public int deletees(Integer[] classifyIds);
    //删除供应商分类
    public int delete(Integer classifyId);
    //查询所有供应商
    public List<Classify> listClassify(Classify classify);
    //根据Id查询
    public Classify getByIdClassify(Integer classifyId);
    //修改供应商分类查询
    public int update(Classify classify);
}
